export default {
  "permission" : {
    "expression" : "/system/search-term/list"
  },
  "title" : "搜索词条",
  "type" : "table",
  "config" : {
    "dataUrl" : "/system/search-term/list",
    "filter" : {
      "controls" : [ {
        "label" : "创建时间",
        "type" : "dateRange",
        "key" : "createdDate"
      }, {
        "label" : "ID",
        "type" : "text",
        "key" : "idIs"
      }, {
        "label" : "是否热门",
        "type" : "select",
        "config" : {
          "options" : [ {
            "text" : "是",
            "value" : true
          }, {
            "text" : "否",
            "value" : false
          } ]
        },
        "key" : "isHotIs"
      }, {
        "label" : "端口类型",
        "type" : "select",
        "config" : {
          "options" : [ {
            "text" : "用户端",
            "value" : "USER"
          }, {
            "text" : "企业端",
            "value" : "ENTERPRISE"
          } ]
        },
        "key" : "portTypeIs"
      }, {
        "label" : "位置",
        "type" : "select",
        "config" : {
          "options" : [ {
            "text" : "首页",
            "value" : "HOME_PAGE"
          } ]
        },
        "key" : "positionIs"
      }, {
        "label" : "是否置顶",
        "type" : "select",
        "config" : {
          "options" : [ {
            "text" : "是",
            "value" : true
          }, {
            "text" : "否",
            "value" : false
          } ]
        },
        "key" : "isTopIs"
      }, {
        "label" : "是否删除",
        "type" : "select",
        "config" : {
          "options" : [ {
            "text" : "是",
            "value" : true
          }, {
            "text" : "否",
            "value" : false
          } ]
        },
        "key" : "isDeleteIs"
      } ]
    },
    "columns" : [ {
      "sorter" : true,
      "title" : "ID",
      "type" : "text",
      "key" : "id"
    }, {
      "title" : "创建时间",
      "type" : "datetime",
      "key" : "createdDate"
    }, {
      "title" : "最后修改时间",
      "type" : "datetime",
      "key" : "lastModifiedDate"
    }, {
      "title" : "版本",
      "type" : "text",
      "key" : "version"
    }, {
      "title" : "词条内容",
      "type" : "text",
      "key" : "content"
    }, {
      "title" : "是否热门",
      "type" : "enum",
      "config" : {
        "constants" : {
          "true" : {
            "color" : "green",
            "text" : "是"
          },
          "false" : {
            "color" : "red",
            "text" : "否"
          }
        }
      },
      "key" : "isHot"
    }, {
      "title" : "端口类型",
      "type" : "enum",
      "config" : {
        "constants" : {
          "ENTERPRISE" : {
            "color" : "red",
            "text" : "企业端"
          },
          "USER" : {
            "color" : "pink",
            "text" : "用户端"
          }
        }
      },
      "key" : "portType"
    }, {
      "title" : "位置",
      "type" : "enum",
      "config" : {
        "constants" : {
          "HOME_PAGE" : {
            "color" : "pink",
            "text" : "首页"
          }
        }
      },
      "key" : "position"
    }, {
      "title" : "是否置顶",
      "type" : "enum",
      "config" : {
        "constants" : {
          "true" : {
            "color" : "green",
            "text" : "是"
          },
          "false" : {
            "color" : "red",
            "text" : "否"
          }
        }
      },
      "key" : "isTop"
    }, {
      "title" : "排序",
      "type" : "text",
      "key" : "sort"
    }, {
      "title" : "是否删除",
      "type" : "enum",
      "config" : {
        "constants" : {
          "true" : {
            "color" : "green",
            "text" : "是"
          },
          "false" : {
            "color" : "red",
            "text" : "否"
          }
        }
      },
      "key" : "isDelete"
    } ],
    "rowActions" : [ ],
    "actions" : [ ]
  }
};